package com.github.tetrisgame.utils;

public class StringUtils {
    //判断是不是合法的手机号
    public static boolean isPhone(String phone){
        String regex = "^1[3-9]\\d{9}$";
        return phone.matches(regex);
    }
}
